package org.shiwen.week7.answer;

public class Q5 {
    public static void main(String[] args) {
        BankAccount ba = new BankAccount("232323");
        System.out.println(ba.toString());
        BankAccount ba2 = new BankAccount("232324");
        ba2.setInterestRate(0.05);
        System.out.println(ba2.toString());
        System.out.println(ba.toString());
    }
}

class Test{
    private int x;
    public Test(){
        x=35;
    }
    public void Test(double f){
        this.x=(int)f;
    }
    public Test(String s){}
}